﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using SARUserControls;
using SAR.Pages;

namespace SAR
{
    public partial class DianMuBiaoPingGu0 : BasePageClass
    {

        public DianMuBiaoPingGu0()
        {
            this.InitializeComponent();

        }


        void DianMuBiaoPingGu0_Loaded()
        {
            DaKaiWenJianDialog dialog = new DaKaiWenJianDialog();
            dialog.SAROKClick += new DakaiWenjianOKHandler(dialog_SAROKClick);
            dialog.ShowDialog();
        }

        public void DianMubiaoPingGuShowImgBtn()
        {
            this.imageLoadBtn.Visibility = Visibility.Visible;
        }


        //第一个步骤的弹出窗口
        void dialog_SAROKClick(double width, double height)
        {
            
        }


        public void DianMuBiaoPingGu1_Loaded()
        {
            this.imageLoadBtn.Visibility = Visibility.Hidden;
            ShuXingSheZhiDialog dialog = new ShuXingSheZhiDialog();
            dialog.SAROKClick += new ShuxingShezhiOKHandler(dialog_SAROKClick1);
            dialog.ShowDialog();
        }

        //第二个步骤的弹出窗口
        void dialog_SAROKClick1(double hengxiangjianju, double zongxiangjianju)
        {

        }


        public bool PreClick()
        {
            return true;
        }

        public bool NextClick()
        {
            return true;
        }

        private void imageLoadBtn_SARClick(object sender, MouseButtonEventArgs e)
        {
            // 打开图像文件

            //载入图像文件

            
            //弹出参数设置对话框
            DianMuBiaoPingGu0_Loaded();



        }


    }
}